package com.chengyu.stock;

import com.chengyu.stock.config.SwaggerConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.Import;
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@MapperScan("com.chengyu.stock.mapper")
@Import(value = {SwaggerConfiguration.class})//导入swagger配置
public class StockApp {
    public static void main(String[] args) {
        SpringApplication.run(StockApp.class, args);
    }
}
